package my.merborn.ordersysteam105.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class CommonController {

    @RequestMapping("/hi")
    public String Hi() {
        ModelAndView modelAndView = new ModelAndView();
        return null;
    }

    @RequestMapping("/hello")
    @ResponseBody
    public String hello() {

        return "hello";
    }
}
